package com.yzh.openai.domain.openai.service.rule;

import com.yzh.openai.domain.openai.model.aggregates.ChatProcessAggregate;
import com.yzh.openai.domain.openai.model.entity.RuleLogicEntity;

import java.util.concurrent.ExecutionException;

/**
 * 规则过滤接口
 */
public interface ILogicFilter<T> {
    RuleLogicEntity<ChatProcessAggregate> filter(ChatProcessAggregate chatProcess, T data) throws ExecutionException;
}
